package com.oa.bean.work;

import java.util.Date;
import java.util.Set;

import com.oa.bean.finance.Pays;
import com.oa.bean.student.Says;
import com.oa.bean.teaching.Classes;
import com.oa.bean.teaching.Courses;
import com.oa.bean.teaching.Feedback;
import com.oa.bean.teaching.Seminar;

/**
 * 员工表
 */
public class Emp {
	private int eid;// 员工id
	private String ename;// 员工名称
	private String esex;// 员工性别
	private int did;// 部门id
	private Date ebirth;// 员工生日
	private String ecertid;// 身份证号
	private String ecity;// 籍贯
	private String eanton;// 名族
	private String edu;// 学历
	private String eaddr;// 家庭住址
	private Date etry;// 试用日期
	private Date ecreate; // 创建时间
	private int estatus;// 状态
	private String epwd;// 密码
	

	private Dept dept;// 所对应部门

	private Seminar seminar;// 一个主讲教师对应一个员工

	private Set<Feedback> feedbacks;// 一个教师可以有多个反馈

	private Set<Family> familys;// 一个员工有多个家庭成员

	private Set<Report> reports;// 一个员工可以有多个工作日志

	private Set<Apply> applys;// 一个员工申购多个物品

	private Set<Applyuse> applyuses;// 一个员工领多个物品

	private Duty duty;// 同个时间多个员工值班

	private Set<Education> educations;// 一个员工多个教育经历

	private Set<Jobs> jobss;// 一个员工多个工作经历

	private Workcheck workcheck;// 一个时间多个员工打卡

	private Set<Classes> classess1;// 一班主任对应多个班级
	
	private Set<Classes> classess2;	// 一班辅导老师对应多个班级
	
	private Set<Classes> classess3;	// 一班任课老师对应多个班级
	
	private Set<Courses> courses;	//一个员工对应多个课程进度
	
	private Set<Says> says;//一个员工个谈心记录
	

	public Set<Says> getSays() {
		return says;
	}

	public void setSays(Set<Says> says) {
		this.says = says;
	}

	public Set<Courses> getCourses() {
		return courses;
	}

	public void setCourses(Set<Courses> courses) {
		this.courses = courses;
	}

	private Pays pays;

	public Pays getPays() {
		return pays;
	}

	public void setPays(Pays pays) {
		this.pays = pays;
	}

	public Set<Classes> getClassess1() {
		return classess1;
	}

	public void setClassess1(Set<Classes> classess1) {
		this.classess1 = classess1;
	}

	public Set<Classes> getClassess2() {
		return classess2;
	}

	public void setClassess2(Set<Classes> classess2) {
		this.classess2 = classess2;
	}

	public Set<Classes> getClassess3() {
		return classess3;
	}

	public void setClassess3(Set<Classes> classess3) {
		this.classess3 = classess3;
	}

	public Workcheck getWorkcheck() {
		return workcheck;
	}

	public void setWorkcheck(Workcheck workcheck) {
		this.workcheck = workcheck;
	}

	public Set<Jobs> getJobss() {
		return jobss;
	}

	public void setJobss(Set<Jobs> jobss) {
		this.jobss = jobss;
	}

	public Set<Education> getEducations() {
		return educations;
	}

	public void setEducations(Set<Education> educations) {
		this.educations = educations;
	}

	public Duty getDuty() {
		return duty;
	}

	public void setDuty(Duty duty) {
		this.duty = duty;
	}

	public Set<Applyuse> getApplyuses() {
		return applyuses;
	}

	public void setApplyuses(Set<Applyuse> applyuses) {
		this.applyuses = applyuses;
	}

	public Set<Apply> getApplys() {
		return applys;
	}

	public void setApplys(Set<Apply> applys) {
		this.applys = applys;
	}

	public Set<Report> getReports() {
		return reports;
	}

	public void setReports(Set<Report> reports) {
		this.reports = reports;
	}

	public Set<Family> getFamilys() {
		return familys;
	}

	public void setFamilys(Set<Family> familys) {
		this.familys = familys;
	}

	public Set<Feedback> getFeedbacks() {
		return feedbacks;
	}

	public void setFeedbacks(Set<Feedback> feedbacks) {
		this.feedbacks = feedbacks;
	}

	public Seminar getSeminar() {
		return seminar;
	}

	public void setSeminar(Seminar seminar) {
		this.seminar = seminar;
	}

	public Emp() {
	}

	public Emp(int eid, String ename, String esex, int did, Date ebirth, String ecertid, String ecity, String eanton,
			String edu, String eaddr, Date etry, Date ecreate, int estatus, String epwd) {
		super();
		this.eid = eid;
		this.ename = ename;
		this.esex = esex;
		this.did = did;
		this.ebirth = ebirth;
		this.ecertid = ecertid;
		this.ecity = ecity;
		this.eanton = eanton;
		this.edu = edu;
		this.eaddr = eaddr;
		this.etry = etry;
		this.ecreate = ecreate;
		this.estatus = estatus;
		this.epwd = epwd;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public int getEid() {
		return eid;
	}

	public void setEid(int eid) {
		this.eid = eid;
	}

	public String getEname() {
		return ename;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public String getEsex() {
		return esex;
	}

	public void setEsex(String esex) {
		this.esex = esex;
	}

	public int getDid() {
		return did;
	}

	public void setDid(int did) {
		this.did = did;
	}

	public Date getEbirth() {
		return ebirth;
	}

	public void setEbirth(Date ebirth) {
		this.ebirth = ebirth;
	}

	public String getEcertid() {
		return ecertid;
	}

	public void setEcertid(String ecertid) {
		this.ecertid = ecertid;
	}

	public String getEcity() {
		return ecity;
	}

	public void setEcity(String ecity) {
		this.ecity = ecity;
	}

	public String getEanton() {
		return eanton;
	}

	public void setEanton(String eanton) {
		this.eanton = eanton;
	}

	public String getEdu() {
		return edu;
	}

	public void setEdu(String edu) {
		this.edu = edu;
	}

	public String getEaddr() {
		return eaddr;
	}

	public void setEaddr(String eaddr) {
		this.eaddr = eaddr;
	}

	public Date getEtry() {
		return etry;
	}

	public void setEtry(Date etry) {
		this.etry = etry;
	}

	public Date getEcreate() {
		return ecreate;
	}

	public void setEcreate(Date ecreate) {
		this.ecreate = ecreate;
	}

	public int getEstatus() {
		return estatus;
	}

	public void setEstatus(int estatus) {
		this.estatus = estatus;
	}

	public String getEpwd() {
		return epwd;
	}

	public void setEpwd(String epwd) {
		this.epwd = epwd;
	}

	@Override
	public String toString() {
		return "Emp [eid=" + eid + ", ename=" + ename + ", esex=" + esex + ", did=" + did + ", ebirth=" + ebirth
				+ ", ecertid=" + ecertid + ", ecity=" + ecity + ", eanton=" + eanton + ", edu=" + edu + ", eaddr="
				+ eaddr + ", etry=" + etry + ", ecreate=" + ecreate + ", estatus=" + estatus + ", epwd=" + epwd + "]";
	}

}
